<template>
  <div>
    <div class="detail">
      <el-button @click="goOff()"
                 type="primary"
                 size="small"
                 icon="el-icon-arrow-left">人员管理</el-button>
      <el-card>
        <el-tabs>
          <el-tab-pane label="设计专业">
            <DesignMajor></DesignMajor>
          </el-tab-pane>
          <el-tab-pane label="维修专业"
                       lazy>
            <professional></professional>
          </el-tab-pane>
          <el-tab-pane label="总师"
                       lazy>
            <ChiefenGineer></ChiefenGineer>
          </el-tab-pane>
        </el-tabs>
      </el-card>
    </div>
  </div>
</template>
 
<script>
import DesignMajor from '../../components/renyuan/designmajor.vue';
import professional from '../../components/renyuan/professional';
import ChiefenGineer from '../../components/renyuan/chiefengineer';

export default {
    name: 'renyuanguanli',
    components: {
        DesignMajor,
        professional,
        ChiefenGineer,
    },
    data() {
        return {};
    },
    created() {},
    methods: {
        /* 返回 */
        goOff() {
            this.$router.go(-1);
        },
    },
};
</script>
 
<style lang="scss" scoped>
.detail {
    // padding: 15px;
}
.mb8 {
    padding-bottom: 5px;
}
</style>